#include "Triple.h"


Triple::Triple()
{
	_first = -1;
	_second = -1;
	_third = -1;
}

Triple::Triple(INTEGER first, INTEGER second, INTEGER third){
	_first = first;
	_second = second;
	_third = third;
}

INTEGER Triple::getFirst(){
	return _first;
}

INTEGER Triple::getSecond(){
	return _second;
}

INTEGER Triple::getThird(){
	return _third;
}

BOOLEAN Triple::isSameTriple(Triple t) {
	if ((_first==t.getFirst())&&(_second==t.getSecond())&&(_third==t.getThird())) {
		return true;
	} else {
		return false;
	}
}
